package com.ruoyi.system.service.impl;


import com.ruoyi.domain.vo.EsHouse;
import com.ruoyi.domain.vo.House;
import com.ruoyi.system.mapper.SearchMapper;
import com.ruoyi.system.service.SearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 * @author 姚炜琦
 * @Classname SerachServiceImpl
 * @Description TODO
 * @Date 2022/10/25 19:41
 */
@Service
public class SearchServiceImpl implements SearchService {
    @Autowired
    private SearchMapper searchMapper;

    /**
     * 查询所有的房源数据
     * @return
     */
    @Override
    public ArrayList<EsHouse> selectAllHouse() {
        return searchMapper.selectAllHouse();
    }
}
